package com.archerdu.apply.model;

import java.sql.Timestamp;

import com.archerdu.base.dao.BaseEntity;

/**
 * TbArticle entity. @author MyEclipse Persistence Tools
 */

public class Article
        implements BaseEntity<String> {
    
    private static final long serialVersionUID = 90992129295134100L;
    private String            id;
    private String            title;
    private String            author;
    private String            keywords;
    private String            summary;
    private String            content;
    private String            catalogId;
    private String            catalogCode;
    private Integer           click;
    /** 排序标识 */
    private Integer           sort;
    /** 推荐 */
    private Integer           recommend;
    /** 使用标识 */
    private Integer           useFlag;
    private Integer           createUser;
    private Integer           updateUser;
    private Timestamp         createtime;
    private Timestamp         updatetime;
    
    // Constructors
    
    /** default constructor */
    public Article() {
    }
    
    /** minimal constructor */
    public Article(String title, String author, String keywords, String content, Timestamp createtime) {
        this.title = title;
        this.author = author;
        this.keywords = keywords;
        this.content = content;
        this.createtime = createtime;
    }
    
    /** full constructor */
    public Article(String title, String author, String keywords, String summary, String content, String catalogId,
            String catalogCode, Integer click, Integer createUser, Integer updateUser, Timestamp createtime,
            Timestamp updatetime) {
        this.title = title;
        this.author = author;
        this.keywords = keywords;
        this.summary = summary;
        this.content = content;
        this.catalogId = catalogId;
        this.catalogCode = catalogCode;
        this.click = click;
        this.createUser = createUser;
        this.updateUser = updateUser;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }
    
    // Property accessors
    
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getAuthor() {
        return this.author;
    }
    
    public void setAuthor(String author) {
        this.author = author;
    }
    
    public String getKeywords() {
        return this.keywords;
    }
    
    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }
    
    public String getSummary() {
        return this.summary;
    }
    
    public void setSummary(String summary) {
        this.summary = summary;
    }
    
    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    public String getCatalogId() {
        return this.catalogId;
    }
    
    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }
    
    public String getCatalogCode() {
        return this.catalogCode;
    }
    
    public void setCatalogCode(String catalogCode) {
        this.catalogCode = catalogCode;
    }
    
    public Integer getClick() {
        return this.click;
    }
    
    public void setClick(Integer click) {
        this.click = click;
    }
    
    public Integer getCreateUser() {
        return this.createUser;
    }
    
    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }
    
    public Integer getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }
    
    public Timestamp getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }
    
    public Timestamp getUpdatetime() {
        return this.updatetime;
    }
    
    public void setUpdatetime(Timestamp updatetime) {
        this.updatetime = updatetime;
    }
    
    public Integer getRecommend() {
        return recommend;
    }
    
    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(Integer useFlag) {
        this.useFlag = useFlag;
    }
    
}
